package com.example.avmanagerweb.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xg
 * @since 2023-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Sys_UserInfo")
public class SysUserinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uId", type = IdType.AUTO)
    private Integer uid;

    @TableField("uDepId")
    private Integer udepid;

    @TableField("uLoginName")
    private String uloginname;

    @JsonIgnore
    @TableField("uPwd")
    private String upwd;

    @JsonIgnore
    @TableField("uGender")
    private Boolean ugender = true;

    @JsonIgnore
    @TableField("uPost")
    private String upost;

    @JsonIgnore
    @TableField("uRemark")
    private String uremark;

    @JsonIgnore
    @TableLogic
    @TableField("uIsDel")
    private Boolean uisdel;


    @JsonIgnore
    @TableField(value = "uAddTime", fill = FieldFill.INSERT)
    private Date uaddtime;

    @JsonIgnore
    @TableField("uName")
    private String uname;

    @JsonIgnore
    @TableField("uPhone")
    private String uphone;


    @TableField("uDvId")
    private Integer udvid;

    @TableField("uStatus")
    private byte ustatus;

    @JsonIgnore
    @TableField("uIsTimeLimit")
    private Boolean uistimelimit;

    @JsonIgnore
    @TableField("uStartTime")
    private Date ustarttime;

    @JsonIgnore
    @TableField("uEndTime")
    private Date uendtime;

    @JsonIgnore
    @TableField("uLoginTime")
    private Date ulogintime;

    @JsonIgnore
    @TableField("uLoginSec")
    private Integer uloginsec;

    @JsonIgnore
    @TableField("uCountLoginSec")
    private Integer ucountloginsec;

    @TableField("uIsLogin")
    private Boolean uislogin;

    @TableField("uLoginType")
    private Integer ulogintype;

    @JsonIgnore
    @TableField("uSupportVideo")
    private Boolean usupportvideo;

    @TableField("uIsSysMana")
    private Boolean uissysmana;

    @TableField("uIsDepartMana")
    private Boolean uisdepartmana;

    @JsonIgnore
    @TableField("uUserLevel")
    private Integer uuserlevel;

    @JsonIgnore
    @TableField("uStatusID")
    private Integer ustatusid;

    @JsonIgnore
    @TableField("uPolNo")
    private String upolno;

    @JsonIgnore
    @TableField("uUserType")
    private Integer uusertype;


}
